#pragma once
#include "IDBFactory.h"

class SqliteWordDB;
class SqliteLessonDB;
class SqliteBookDB;

class ISqliteFactory :public IDBFactory
{
public:
	ISqliteFactory(void);
	~ISqliteFactory(void);

	IWordDB* createIWordDB(PDCHAR* pc_dbPath);
	ILessonDB* createILessonDB(PDCHAR* pc_dbPath);
	IBookDB* createIBookDB(PDCHAR* pc_dbPath);

protected:
	virtual SqliteWordDB* _createSqliteWordDB(PDCHAR* pc_dbPath) = 0;
	virtual SqliteLessonDB* _createSqliteLessonDB(PDCHAR* pc_dbPath) = 0;
	virtual SqliteBookDB* _createSqliteBookDB(PDCHAR* pc_dbPath) = 0;
};

